import request from '@/utils/request'

// 查询个性外链列表
export function listManageurl(query) {
  return request({
    url: '/hmk/manageurl/list',
    method: 'get',
    params: query
  })
}

// 查询个性外链详细
export function getManageurl(id) {
  return request({
    url: '/hmk/manageurl/' + id,
    method: 'get'
  })
}

// 新增个性外链
export function addManageurl(data) {
  return request({
    url: '/hmk/manageurl',
    method: 'post',
    data: data
  })
}

// 修改个性外链
export function updateManageurl(data) {
  return request({
    url: '/hmk/manageurl',
    method: 'put',
    data: data
  })
}

// 删除个性外链
export function delManageurl(id) {
  return request({
    url: '/hmk/manageurl/' + id,
    method: 'delete'
  })
}
